/**
 * Created by wd14931 on 2017/6/2.
 */
/**
 * Created by wd14931 on 2017/5/23.
 */
var UserModel = require('./../model/UserModel');
var Server     = require('./../server');
var log        = require('./../tools/console');
var server     = new Server();

function Index(req, res){

}

var Action = Index.prototype;

/*
 * home
 *
 * */
Action.index = function(req, res, orderNumber){

    var orderModel = new UserModel({pageName: 'index'});

    res.render('index', orderModel, function(err, html) {
        res.end(html);
    })
};

module.exports = new Index();